package com.wo.cloud.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import java.util.List;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/3/8 10:02
 * Description: 角色权限DTO
 */

@Data
@ApiModel(value = "角色权限对象", description = "系统角色权限表")
public class RolePermissionDto {

    @ApiModelProperty(value = "菜单id")
    @NonNull
    private List<String> menuIds;

    @NonNull
    @ApiModelProperty(value = "角色id")
    private String roleId;
}
